package com.mutual.assistance.auth;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "com.mutual.assistance")
@MapperScan("com.mutual.assistance.auth.mapper")
@EnableTransactionManagement
@EnableSwagger2Doc
@EnableAspectJAutoProxy
public class AuthApplication {

    public static void main(String[] args) {
        SpringApplication.run( AuthApplication.class, args);
    }

}
